package com.yunfangdata.service.impl;

import com.yunfangdata.mapper.ChartMapper;
import com.yunfangdata.query.ChartQueryObject;
import com.yunfangdata.service.IChartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ChartServiceImpl implements IChartService {
    @Autowired
    private ChartMapper chartMapper;

    public ChartServiceImpl() {
    }

    public List<Map<String, String>> queryClientChart(ChartQueryObject qo) {
        return this.chartMapper.queryClientChart(qo);
    }

    public List<Map<String, String>> queryFormatClientChart(ChartQueryObject qo) {
        return this.chartMapper.queryFormatClientChart(qo);
    }
}
